package cn.cheneyjoo.service.impl;

import cn.cheneyjoo.Dao.ISectionDao;
import cn.cheneyjoo.model.Section;
import cn.cheneyjoo.service.ISectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SectionServiceImpl implements ISectionService {
    @Autowired
    private ISectionDao sectionDao;

    /**
     * 查询全部职位信息
     * @return
     */
    @Override
    public List<Section> findAll() {
        return sectionDao.findAll();
    }
}
